<html>
   <head>
      <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
   
      <link rel="stylesheet" href="./../helpwin.css">
      <title>MATLAB File Help: prtPreProcZmuv</title>
   </head>
   <body>
      <!--Single-page help-->
      <table border="0" cellspacing="0" width="100%">
         <tr class="subheader">
            <td class="headertitle">MATLAB File Help: prtPreProcZmuv</td>
            
            
         </tr>
      </table>
      <div class="title">prtPreProcZmuv</div>
      <div class="helptext"><pre><!--helptext -->  <span class="helptopic">prtPreProcZmuv</span>   Zero mean unit variance processing
 
    ZMUV = <span class="helptopic">prtPreProcZmuv</span> creates a zero mean unit variance pre
    processing object. A <span class="helptopic">prtPreProcZmuv</span> object processes the input data
    so that it has zero mean and unit variance.  Use TRAIN to determine
    the parameters of the ZMUV object:
  
    zmuv = <span class="helptopic">prtPreProcZmuv</span>;
    zmuv = zmuv.train(ds); 
 
    And use RUN to process a data set:
 
    dsPreProc = zmuv.run(ds);
 
    A <span class="helptopic">prtPreProcZmuv</span> object also inherits all properties and functions from
    the prtAction class
 
    Example:
 
    dataSet = prtDataGenIris;       % Load a data set.
    dataSet = dataSet.retainFeatures(1:2);
    zmuv = <span class="helptopic">prtPreProcZmuv</span>;           % Create a zero-mean unit variance
                                     % object
    zmuv = zmuv.train(dataSet);      % Compute the mean and variance
    dataSetNew = zmuv.run(dataSet);  % Normalize the data
  
    % Plot
    subplot(2,1,1); plot(dataSet);
    title(sprintf('Mean: %s; Stdev: %s',mat2str(mean(dataSet.getObservations),2),mat2str(std(dataSet.getObservations),2)))
    subplot(2,1,2); plot(dataSetNew);
    title(sprintf('Mean: %s; Stdev: %s',mat2str(mean(dataSetNew.getObservations),2),mat2str(std(dataSetNew.getObservations),2)))</pre></div><!--after help --><!--seeAlso--><div class="footerlinktitle">See Also</div><div class="footerlink"> <a href="./prtPreProc.html">prtPreProc</a>, <a href="./prtPreProcPca.html">prtPreProcPca</a>, <a href="./prtPreProcPls.html">prtPreProcPls</a>,
    <a href="./prtPreProcHistEq.html">prtPreProcHistEq</a>, <a href="./prtPreProcZeroMeanColumns.html">prtPreProcZeroMeanColumns</a>, <a href="./prtPreProcLda.html">prtPreProcLda</a>,
    <a href="./prtPreProcZeroMeanRows.html">prtPreProcZeroMeanRows</a>, <a href="./prtPreProcLogDisc.html">prtPreProcLogDisc</a>, <a href="./prtPreProcZmuv.html">prtPreProcZmuv</a>,
    <a href="./prtPreProcMinMaxRows.html">prtPreProcMinMaxRows</a> 
</div>
      <!--Class-->
      <div class="sectiontitle">Class Details</div>
      <table class="class-details">
         <tr>
            <td class="class-detail-label">Superclasses</td>
            <td><a href="./prtPreProc.html">prtPreProc</a></td>
         </tr>
         <tr>
            <td class="class-detail-label">Sealed</td>
            <td>false</td>
         </tr>
         <tr>
            <td class="class-detail-label">Construct on load</td>
            <td>false</td>
         </tr>
      </table>
      <!--Constructors-->
      <div class="sectiontitle"><a name="constructors"></a>Constructor Summary
      </div>
      <table class="summary-list">
         <tr class="summary-item">
            <td class="name"><a href="./prtPreProcZmuv/prtPreProcZmuv.html">prtPreProcZmuv</a></td>
            <td class="m-help">Zero mean unit variance processing&nbsp;</td>
         </tr>
      </table>
      <!--Properties-->
      <div class="sectiontitle"><a name="properties"></a>Property Summary
      </div>
      <table class="summary-list">
         <tr class="summary-item">
            <td class="name"><a href="./prtPreProcZmuv/dataSet.html">dataSet</a></td>
            <td class="m-help">The training prtDataSet, only stored if verboseStorage is true. &nbsp;</td>
         </tr>
         <tr class="summary-item">
            <td class="name"><a href="./prtPreProcZmuv/dataSetSummary.html">dataSetSummary</a></td>
            <td class="m-help">Structure that summarizes prtDataSet.&nbsp;</td>
         </tr>
         <tr class="summary-item">
            <td class="name"><a href="./prtPreProcZmuv/isCrossValidateValid.html">isCrossValidateValid</a></td>
            <td class="m-help">True&nbsp;</td>
         </tr>
         <tr class="summary-item">
            <td class="name"><a href="./prtPreProcZmuv/isSupervised.html">isSupervised</a></td>
            <td class="m-help">False&nbsp;</td>
         </tr>
         <tr class="summary-item">
            <td class="name"><a href="./prtPreProcZmuv/isTrained.html">isTrained</a></td>
            <td class="m-help">Indicates if prtAction object has been trained.&nbsp;</td>
         </tr>
         <tr class="summary-item">
            <td class="name"><a href="./prtPreProcZmuv/means.html">means</a></td>
            <td class="m-help">General Classifier Properties&nbsp;</td>
         </tr>
         <tr class="summary-item">
            <td class="name"><a href="./prtPreProcZmuv/name.html">name</a></td>
            <td class="m-help">Zero Mean Unit Variance&nbsp;</td>
         </tr>
         <tr class="summary-item">
            <td class="name"><a href="./prtPreProcZmuv/nameAbbreviation.html">nameAbbreviation</a></td>
            <td class="m-help">ZMUV&nbsp;</td>
         </tr>
         <tr class="summary-item">
            <td class="name"><a href="./prtPreProcZmuv/showProgressBar.html">showProgressBar</a></td>
            <td class="m-help">&nbsp;</td>
         </tr>
         <tr class="summary-item">
            <td class="name"><a href="./prtPreProcZmuv/stds.html">stds</a></td>
            <td class="m-help">The original data standard deviation&nbsp;</td>
         </tr>
         <tr class="summary-item">
            <td class="name"><a href="./prtPreProcZmuv/userData.html">userData</a></td>
            <td class="m-help">User specified data&nbsp;</td>
         </tr>
         <tr class="summary-item">
            <td class="name"><a href="./prtPreProcZmuv/verboseStorage.html">verboseStorage</a></td>
            <td class="m-help">Specifies whether or not to store the training prtDataset.&nbsp;</td>
         </tr>
      </table>
      <!--Methods-->
      <div class="sectiontitle"><a name="methods"></a>Method Summary
      </div>
      <table class="summary-list">
         <tr class="summary-item">
            <td class="attributes">
               &nbsp;
               
            </td>
            <td class="name"><a href="./prtPreProcZmuv/crossValidate.html">crossValidate</a></td>
            <td class="m-help">Cross validate prtAction using prtDataSet and cross validation keys.&nbsp;</td>
         </tr>
         <tr class="summary-item">
            <td class="attributes">
               &nbsp;
               
            </td>
            <td class="name"><a href="./prtPreProcZmuv/get.html">get</a></td>
            <td class="m-help">get the object properties&nbsp;</td>
         </tr>
         <tr class="summary-item">
            <td class="attributes">
               &nbsp;
               
            </td>
            <td class="name"><a href="./prtPreProcZmuv/kfolds.html">kfolds</a></td>
            <td class="m-help">Perform K-folds cross-validation of prtAction&nbsp;</td>
         </tr>
         <tr class="summary-item">
            <td class="attributes">
               &nbsp;
               
            </td>
            <td class="name"><a href="./prtPreProcZmuv/optimize.html">optimize</a></td>
            <td class="m-help">Optimize action parameter by exhaustive function maximization.&nbsp;</td>
         </tr>
         <tr class="summary-item">
            <td class="attributes">
               &nbsp;
               
            </td>
            <td class="name"><a href="./prtPreProcZmuv/run.html">run</a></td>
            <td class="m-help">Run a prtAction object on a prtDataSet object.&nbsp;</td>
         </tr>
         <tr class="summary-item">
            <td class="attributes">
               &nbsp;
               
            </td>
            <td class="name"><a href="./prtPreProcZmuv/set.html">set</a></td>
            <td class="m-help">set the object properties&nbsp;</td>
         </tr>
         <tr class="summary-item">
            <td class="attributes">
               &nbsp;
               
            </td>
            <td class="name"><a href="./prtPreProcZmuv/train.html">train</a></td>
            <td class="m-help">Train a prtAction object using training a prtDataSet object.&nbsp;</td>
         </tr>
      </table>
   </body>
</html>